﻿@using SunTzu.Utility;
@model form_media
@{
    ViewBag.Title =  Model.Title + " - 合作媒体";
    Layout = "~/Views/Shared/Class/_Layout.cshtml";
    
    bool isWaiting = Model.Id > 0 && Model.State == 0;
    bool isApproved = Model.State == 1;
}
    <script src="/js/exhibitor.js"></script>
    <div class="registerForm registerFormInner">
    <form id="editForm" action="/Media/CreateMedia?id=@Model.Id" method="post">
        
        <div class="registerFormSubTitle">媒体信息</div>
        <ul>
            <li class="formProp">媒体名称：</li>
            <li class="formShortLine" style="width:400px">
                @Model.Title
            </li>
            <li class="clear"></li>
        </ul>
        <ul>
            <li class="formProp">媒体地址：</li>
            <li class="formShortLine" style="width:400px">
                @Model.MediaAddress
            </li>
            <li class="clear"></li>
        </ul>
        <div class="registerFormSubTitle">媒体类型</div>
        <ul>
            <li class="formProp">期刊：</li>
            <li class="formShortLine" style="width:400px">
                发行量：@Model.MagazineAmount 份/期
                &nbsp;&nbsp;发行周期：@(Model.GetMagazineCircle())
            </li>
            <li class="clear"></li>
        </ul>
        <ul>
            <li class="formProp">网站：</li>
            <li class="formShortLine" style="width:400px">
                网址：@Model.WebsiteUrl
                &nbsp;&nbsp;首页PR值：@Model.WebsitePR
            </li>
            <li class="clear"></li>
        </ul>
        <ul>
            <li class="formProp">报纸：</li>
            <li class="formShortLine" style="width:400px">
                发行量：@Model.NewsPaperAmount
                &nbsp;&nbsp;版面位置：@Model.NewsPaperPosition
            </li>
            <li class="clear"></li>
        </ul>
        <ul>
            <li class="formProp">电视媒体：</li>
            <li class="formShortLine" style="width:400px">
                时间：@Model.TVMinutes 分钟/天
                &nbsp;&nbsp;频率：@Model.TVDay 次/天
            </li>
            <li class="clear"></li>
        </ul>
        <ul>
            <li class="formProp">墙体广告：</li>
            <li class="formShortLine" style="width:400px">
                开始时间：@Model.AdvStartTime
                &nbsp;&nbsp;结束时间：@Model.AdvEndTime
                &nbsp;&nbsp;总价：@Model.AdvPrice 元
            </li>
            <li class="clear"></li>
        </ul>
        <ul>
            <li class="formProp">其他：</li>
            <li class="formShortLine" style="width:400px">
                @Model.MediaOther
            </li>
            <li class="clear"></li>
        </ul>
        
        <div class="registerFormSubTitle">公司信息</div>
        <ul>
            <li class="formProp">公司网站：</li>
            <li class="formShortLine" style="width:400px">
                @Model.Url
            </li>
            <li class="clear"></li>
        </ul>
        <ul>
            <li class="formProp">公司地址：</li>
            <li class="formShortLine" style="width:400px">
                @Model.Address
            </li>
            <li class="clear"></li>
        </ul>
        
        <div class="registerFormSubTitle">联系信息</div>
        <ul>
            <li class="formProp">联系人：</li>
            <li class="formShortLine" style="width:400px">
                @Model.Contacter
            </li>
            <li class="clear"></li>
        </ul>
        <ul>
            <li class="formProp">职务：</li>
            <li class="formShortLine" style="width:400px">
                @Model.ContacterTitle
            </li>
            <li class="clear"></li>
        </ul>
        <ul>
            <li class="formProp">联系电话：</li>
            <li class="formShortLine" style="width:400px">
                @Model.Tel
            </li>
            <li class="clear"></li>
        </ul>
        <ul>
            <li class="formProp">传真：</li>
            <li class="formShortLine" style="width:400px">
                @Model.Fax
            </li>
            <li class="clear"></li>
        </ul>
        <ul>
            <li class="formProp">手机：</li>
            <li class="formShortLine" style="width:400px">
                @Model.Mobile
            </li>
            <li class="clear"></li>
        </ul>
        <ul>
            <li class="formProp">Email：</li>
            <li class="formShortLine" style="width:400px">
                @Model.Email
            </li>
            <li class="clear"></li>
        </ul>
        
        <div class="registerFormSubTitle">组委会联系信息</div>
        <p class="hCent">简旖小姐，电话：0592-5301661  18850306550</p>
        <p class="hCent">传真：0592-5371959</p>
        <p class="hCent">Email：media@cccifair.org</p>

        @if (!isApproved)
        {
        <div class="clear"></div>
        <div class="solidLine"></div>
        <div class="buttonBox">
            <a class="smallButton" href="javascript:void()" onclick="$('#editForm').submit();">@(Model.Id == 0 ? "提交申请" : "保存")</a>
            <div style="display: none">
                <input id="submitbutton" type="submit" value="提  交" />
                <input type="button" value="取  消" />
            </div>
        </div>
        }
    </form>
    </div>
